package com.darren.euc.dao.impl;


import java.util.List;

import org.hibernate.Session;
import org.springframework.stereotype.Repository;

import com.darren.euc.dao.ClueRemarkDao;
import com.darren.euc.entity.ClueRemark;


@Repository
public class ClueRemarkDaoImpl extends BaseDaoImpl<ClueRemark, Integer> implements ClueRemarkDao {
	
	@SuppressWarnings("unchecked")
	@Override
	public List<ClueRemark> getAll() {
		Session session = sessionFactory.getCurrentSession();	
		List<ClueRemark> clueRemarks = session.createQuery("from ClueRemark").list();
		return clueRemarks;
	}


}